{"version":3,"file":"script.map.js","names":["BX","namespace","Landing","Component","View","options","instance","getInstance","create","topInit","setNewOptions","init","loadEditor","component","editorWindow","PageObject","getEditorWindow","rootWindow","getRootWindow","buildTop","addEventListener","UI","Panel","StylePanel","Top","onCustomEvent","prototype","this","type","title","url","formEditor","specialType","active","draftMode","id","siteId","siteTitle","storeEnabled","fullPublication","urls","rights","helperFrameOpenUrl","helpCodes","sliderConditions","sliderFullConditions","top","window","autoPublicationEnabled","public","Helper","frameOpenUrl","langId","message","viewInstance","rest","Marketplace","bindPageAnchors","addCustomEvent","installed","event","getEventId","setTimeout","location","reload","data","requiredUserActionIsShown","bind","button","onRequiredLinkClick","requiredLinks","slice","call","document","querySelectorAll","forEach","element","index","blocks","getBlocks","i","c","length","isAllowedByTariff","overlay","props","className","node","appendChild","initSliders","hideEditorsPanelHandlers","SidePanel","conditions","push","conditionsFull","sliderOptions","clone","rules","condition","stopParameters","allowChangeHistory","Instance","bindAnchors","sliderFullOptions","customLeftBoundary","cacheable","loaderContainer","querySelector","userActionContainer","loader","Loader","offset","show","view","then","iframe","bindOnce","action","Main","requiredUserAction","Utils","isPlainObject","isEmpty","header","innerText","description","href","setAttribute","text","classList","add","Dom","addClass","remove","panel","contentWindow","Block","Node","Text","currentNode","disableEdit","Field","BaseField","currentField","EditorPanel","hide","getAttribute","substr","open","linkTpl","urlParams","linkTplAnchor","indexOf","split","toUpperCase","pageUrl","PAGE","replace","landingParams","util","add_url_param","key","link","oPopupPublication","oPopupError","landingId","popupPublicationContent","errorMsgBlock","getErrorMessageBlock","errorCode","clickHandler","getErrorClickHandler","children","attrs","target","method","name","value","disabled","events","click","popupPublicationContentHint","html","checked","ajax","param","sessid","actionType","dataType","onsuccess","removeClass","body","Backend","lid","style","position","Hint","createNode","PopupWindowManager","content","autoHide","closeIcon","titleBar","closeByEsc","animation","noAllPaddings","angle","minWidth","maxWidth","background","contentBackground","setContent","listener","close","removeEventListener","toggle","PreventDefault","oPopupPreview","backend","previewButton","fullUrl","qrContainer","QRCode","width","height","colorLight","range","createRange","selectNode","getSelection","addRange","execCommand","Notification","Center","notify","autoHideDelay","removeAllRanges","err","formVerificationRequired","Bitrix24","Type","isObject","PhoneVerify","formId","setEntityType","setEntityId","startVerify","sliderTitle","Loc","getMessage","callback","verified","settingsClick","onSettingsClick","oPopupFeatures","featuresButton","flexGrow","formBlock","scrollToBlock","blockId","block","get","onShowContentPanel","blocksCollection","currentBlock","main","editor","currentArea","onAddBlock","res","maxIterations","iteration","checkFormNode","requestAnimationFrame","button24hook","hooks","marginRight","fireEvent","settingsKbButton","isDomNode","crmFormShareButton","Event","onCrmFormShareButtonClick","crmFormSettingsButton","preventDefault","formSharePopup","phoneVerified","Form","SharePopup","bindElement","currentTarget","getBlockNode","scrollIntoView","InfoHelper","mandatory","getErrorButtonTitle","hasAttribute","errorArea","buttonTitle","AutoPublication","pendingPublication","editorEnabled","pageIsUnActive","allowedCommands","fullPublicationCommands","delegate","enableEditor","disableEditor","onAction","processing","getStatusArea","getErrorArea","resolveEntityId","entityCode","parseInt","keys","Object","isActionAllowed","revertStatusMessage","actualizeStatusMessage","updateStatusMessage","LANDING_PAGE_STATUS_UPDATED","LANDING_PAGE_STATUS_UPDATED_NOW","StatusPanel","update","response","setSuccess","catch","result","setError","error","error_description","statusArea","removeAttribute","backgroundColor","changeTop","params","changeState","closeAllPopupsMenu","landingAlertMessage","errorText","payment","landingSiteType","PaymentAlertShow","msg","Tool","ActionDialog","confirm","contentColor"],"sources":["script.js"],"mappings":"CAIA,WAEC,aAEAA,GAAGC,UAAU,6BAMbD,GAAGE,QAAQC,UAAUC,KAAO,SAASC,GAErC,EACAL,GAAGE,QAAQC,UAAUC,KAAKE,SAAW,KACrCN,GAAGE,QAAQC,UAAUC,KAAKG,YAAc,WAEvC,OAAOP,GAAGE,QAAQC,UAAUC,KAAKE,QAClC,EACAN,GAAGE,QAAQC,UAAUC,KAAKI,OAAS,SAASH,EAASI,GAEpDJ,EAAQI,QAAUA,IAAY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